﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    abstract class Robot
    {
        private string name;

        public string Name
        {
            get { return this.name = name; }
            set { this.name = value; }
        }

        public Robot(string Name) 
        {
            this.name = Name;
        }


        //抽象方法
        public abstract void Working();

    }
}
